﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace ModelLayer
{
    [DataContract]
    public class UserAchievement
    {
        [DataMember]
        public Status CurrentStatus { get; set; }
        [DataMember]
        public User User { get; set; }
        [DataMember]
        public Achievement Achievement { get; set; }

        public UserAchievement()
        {
        }

        public enum Status
        {
            Invited = 0,
            InProgress = 1,
            Rejected = 2,
            Done = 3,
            Failed = 4 //accepted invite, but gave up
        }
    }
}